#include "stdafx.h"
class Ini;

class FileThread : public wxThread
{
	public:
		bool terminate_thread;
		FileThread(CommandParams *, Ini *, wxTaskBarIcon *);
  	virtual void *Entry();
    virtual void OnExit();
		void checkTerminated(void);
		bool myIsActive();
	protected:
		CommandParams *cp;
		Ini *ini;
		wxTaskBarIcon *tbIcon;
		bool _myIsActive;
};

